package com.rc.evcharger.service.elec;

import com.rc.evcharger.common.base.BaseService;
import com.rc.evcharger.mapper.elec.ElecGunMapper;
import com.rc.evcharger.model.elec.ElecGun;
import com.rc.evcharger.model.elec.ElecGunExample;
import com.rc.evcharger.model.elec.ElecPile;

import java.util.List;

/**
 * Created by sven on 2019/09/23.
 */
public interface ElecGunService extends BaseService<Long, ElecGun, ElecGunExample, ElecGunMapper> {
    ElecGun selectGunByGunNo(String gunNo);

    ElecGun selectGunBypileRtua(String gunNo);

    ElecGun validGun(ElecPile pile, String gunNum);

    List<ElecGun> listByElecPileId(Long elecPileId);

    void updateTableByHongYY(String tableName);
}
